package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;

import java.util.Date;

/**
 * Created by DK on 16/9/18.
 * 产品分类DTO
 */
public class ProductCategoryDto extends DtoEntity {
    /**
     * 名称
     */
    private String name;
    /**
     * 图标Url
     */
    private String ironUrl;
    /**
     * 图片Url
     */
    private String logoUrl;
    /**
     * 是否可见
     */
    private Boolean visible = true;
    /**
     * 显示顺序
     */
    private Integer displayOrderId;
    /**
     * 描述
     */
    private String note;
    /**
     * 创建时间
     */
    private Date dateCreated;
    /**
     * 更新时间
     */
    private Date lastUpdated;
    /**
     * 运营商ID
     */
    private Long mallId;
    /**
     * 父品类
     */
    private String parent;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParent() {
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent;
    }

    public Date getLastUpdated() {
        return lastUpdated;
    }

    public void setLastUpdated(Date lastUpdated) {
        this.lastUpdated = lastUpdated;
    }

    public Long getMallId() {
        return mallId;
    }

    public void setMallId(Long mallId) {
        this.mallId = mallId;
    }

    public String getIronUrl() {
        return ironUrl;
    }

    public void setIronUrl(String ironUrl) {
        this.ironUrl = ironUrl;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public Boolean getVisible() {
        return visible;
    }

    public void setVisible(Boolean visible) {
        this.visible = visible;
    }

    public Integer getDisplayOrderId() {
        return displayOrderId;
    }

    public void setDisplayOrderId(Integer displayOrderId) {
        this.displayOrderId = displayOrderId;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Date getDateCreated() {
        return dateCreated;
    }

    public void setDateCreated(Date dateCreated) {
        this.dateCreated = dateCreated;
    }

    @Override
    public String toString() {
        return "ProductCategoryDto{" +
                "name='" + name + '\'' +
                ", ironUrl='" + ironUrl + '\'' +
                ", logoUrl='" + logoUrl + '\'' +
                ", visible=" + visible +
                ", displayOrderId=" + displayOrderId +
                ", note='" + note + '\'' +
                ", dateCreated=" + dateCreated +
                ", lastUpdated=" + lastUpdated +
                ", mallId=" + mallId +
                ", parent='" + parent + '\'' +
                '}';
    }
}
